package com.mijie.homi.dao.mood;

import org.springframework.stereotype.Repository;

import com.mijie.core.IBatisDao;
import com.mijie.homi.domain.mood.ReceiveNearbyMoodCounter;

@Repository
public class ReceiveNearbyMoodCounterDao extends IBatisDao {

	public ReceiveNearbyMoodCounter getReceiveNearbyMoodCounter(int userId){
		return this.selectOne("getReceiveNearbyMoodCounter", userId);
	}
	
	public int setReceiveNearbyMoodCounter(ReceiveNearbyMoodCounter counter){
		return this.insert("setReceiveNearbyMoodCounter",counter);
	}
}
